﻿using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace ListView_contains_TextBox
{
    public class StringPair
    {
        public StringPair(string k, string v) { Key = k; Value = v; }
        public string Key { get; set; }
        public string Value { get; set; }
    }

    public class BindData
    {
        public BindData() { data_ = new ObservableCollection<StringPair>(); }
        public ObservableCollection<StringPair> Items { get { return data_; } }
        public void addPair(string k, string v) { data_.Add(new StringPair(k, v)); }
        private ObservableCollection<StringPair> data_;
    }
}
